package org.example.route.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "用户信息")
public class UserDTO {

    @Schema(description = "用户id，修改的时候必传")
    private Long id;
    @Schema(description = "用户名")
    private String name;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "账号")
    private String account;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "身份证号")
    private String idNumber;
    @Schema(description = "用户头像")
    private String avatar;


}
